
	<?php include_once dirname(__FILE__).'/../header.php';?>
	
	<link rel="stylesheet" type="text/css" href="http://www.intern55.com/css/style3.css" />

	
	<div id="wrapper">
		<?php include_once dirname(__FILE__).'/../left_side.php';?>
		
		<!--main content -->
		
		<?php if ( isset($image_url1) ){?>
			<h2><img src="<?php echo $image_url1?>" width="250" alt="プログラマー・SEのインターンシップ" /></h2>
		<?php }?>
		
	  	<div id="right_contents">
			<div align="center"><img src="<?php echo $image_url2?>" width="720" /></div>
		
		<?php foreach ($companies as $company) {
			$imgurl = "http://www.intern55.com/facebook/img/" . $company->name_roman;
		?>
			
			<div class="itr_corp" style="font-family:">
				<div align="center"><h3><?php echo $company->kaisha_mei?></h3></div>
				<div class="left_area">
					<a href="/company/<?php echo $company->name_roman?>">
						<img src="<?php echo $imgurl ?>" width="200" height="200" />
					</a>
					<p style="font-size: 11px; font-family: meiryo">
					<?php if ( isset($company->img_cmt) )
						echo $company->img_cmt;
					?>
					</p>
				</div><!--left_area-->
				<div class="right_area">
					<table class="corp_info">
						<tr>
							<td class="menu"><div align="center">募集職種</div></td>
							<td>
							<?php foreach ($company->type as $type) {
								echo "・$type<br>";
							}?>
								.......<a href="/company/<?php echo $company->name_roman?>">詳細へ</a>
							</td>
						</tr>
						<tr>
							<td class="menu"><div align="center">勤務地</div></td>
							<td>
								<?php echo $company->address?>
								.......<a href="/company/<?php echo $company->name_roman?>">詳細へ</a>
							</td>
						</tr>
						<tr>
							<td class="menu"><div align="center">待　遇</div></td>
							<td>
								<?php echo nl2br($company->salary)?>
								.......<a href="/company/<?php echo $company->name_roman?>">詳細へ</a></td>
						</tr>
						<tr>
							<td class="menu"><div align="center">勤務条件</div></td>
							<td>
								<?php echo nl2br($company->work_con)?>
								.......<a href="/company/<?php echo $company->name_roman?>">詳細へ</a></td>
							</td>
						</tr>
						<tr>
							<td class="menu"><div align="center">学生へ一言</div></td>
							<td>
								<?php echo nl2br($company->hitokoto)?>
								.......<a href="/company/<?php echo $company->name_roman?>">詳細へ</a>
							</td>
						</tr>
					</table>
					<div align="center"><div class="apply_button"><a href="/company/<?php echo $company->name_roman?>"><img src="http://www.intern55.com/top_img/detail_button.jpg" width="250" /></a></div></div>
					<br clear="all" />
				</div><!--right_area-->
				<br clear="all" />
			</div><!--itr_corp end-->
		
		<?php }?>				

		</div><!--right_contents-->
		
	</div><!--wrapper-->
	
	<?php include_once dirname(__FILE__).'/../footer.php';?>